package com.wanban.download.listener

/**
 * 文件下载回调
 */
interface OnFileDownloadListener {

    fun onStart(url: String)
    fun onProgress(url: String, speed: Long, currentLength: Long, percent: Float)
    fun onError(url: String, errorMsg: String)
    fun onComplete(url: String, length: Long, path: String?)
}